/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */



import com.artic.ogre.model.Scene;
import java.io.File;
import javax.xml.bind.JAXBContext;
import javax.xml.bind.JAXBException;
import javax.xml.bind.Unmarshaller;

/**
 *
 * @author czarnik_a
 */
public class Main {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) throws JAXBException {
            JAXBContext jc = JAXBContext.newInstance("com.artic.ogre.model");
            Unmarshaller unmarshaller = jc.createUnmarshaller();
            File testsceneFile = new File("src/main/java/Warehouse.xml");
            Scene dotScene = (Scene) unmarshaller.unmarshal(testsceneFile);
            System.out.println(dotScene.getEnvironment().getClipping().getFar());
    }

}
